<?php
/*
 * 车系参数配置
 * @package    auto
 * @author     YuNian, Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: 197ab9a01dcf4649e0bffd1086e62345deb8c68a $
 */
defined('IN_IXDCW') or exit('Access Denied');
require_once DT_CORE . "/{$module}/common.inc.php";

// header
$headerPart = 'canshu';
require_once MD_ROOT . '/header.inc.php';

$modelInfos = AutoModel::detailByCarid($carId);
$modelFirst = __($modelInfos)->first();
$modelType  = $modelFirst['modeltype'];
$fd         = AutoModel::params($modelType);
$fd         = AutoModel::dropParam($fd, 'model_thumb');
$fdGroup    = AutoModel::paramGroup($fd);
$params     = AutoModel::formatParams($modelInfos);
$modelIds = array_keys($modelInfos);


include template('carParam', $module);